<?php

declare(strict_types=1);

namespace app\shop\controller\api\data;

use think\Request;
use sheep\exception\SheepException;
use app\shop\model\data\Faq as FaqModel;
use app\shop\controller\api\ShopBase;


class Faq extends ShopBase
{

    public function index()
    {
        $list = FaqModel::where('status', 'normal')->order('id', 'asc')->select();

        return success('获取成功', $list);
    }
}
